

class SpiderBaseException(Exception):
    def __init__(self, page, error):
        self.error = error
        self.page = page

    def get_page(self):
        return self.page

    def get_error(self):
        return self.error